/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ken
 * Date: 2023-12-26
 * Time: 17:08
 */
public class Test {
    public static void main(String[] args) {
    MySingleList mySingleList = new MySingleList();
    mySingleList.createLink();
    mySingleList.display();
        System.out.println("===========");
        System.out.println(mySingleList.contains(22));
       mySingleList.addLast(10);
       mySingleList.addFist(222);
        mySingleList.display();
        System.out.println("======测试指定位置插入");
        mySingleList.addIndex(3,542);
        mySingleList.display();
    }

}
